<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr" lang="en-gb">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>系统消息</title>
<link type="text/css" rel="Stylesheet"
	href="/PCT/StyleAll/styleLogIn.css" />
<link type="text/css" rel="Stylesheet" href="/PCT/StyleAll/styleAll.css" />
<style type="text/css">
.STYLE1 {
	font-size: 36px
}
</style>
</head>

<body class="browser-webkit can-transform has-shadows transform">
	<div class="header">
		<a> <img src="/PCT/image/Logo Small.png" width=1000px height=50px
			alt="Logo Small">
		</a>
	</div>
	<p>&nbsp;</p>
	</div>
	<div class="page">
		<div id="page-header">
			<div id="search-box">
				<s:if test="#session.status.currentUser.userType == 1">病友：</s:if>
				<s:elseif test="#session.status.currentUser.userType == 2">医生：</s:elseif>
				<s:elseif test="#session.status.currentUser.userType == 3">管理员：</s:elseif>
				<a><s:property value="#session.status.currentUser.username" /></a> 等级：
				<a><s:property value="#session.status.currentUser.rank" /></a>
					<img src="/PCT/image/2.png" width=15px height=15px>
					<a href=" <s:url action='logout' namespace='/secure'/>">退出</a>
				</div>
			<a href="<s:url action='dealedSystemReportMessage' namespace='/public'>
				</s:url>" class="button2">不再显示以下信息</a>
		</div>
		<div>
			<div class="panel">
			<s:iterator value="#session.systemReportMessage" status="itStatus"
			var="SRM"> 
			信息编号：<s:property value="#SRM.messageID" />
					群名：<s:property value="#SRM.m_groupName" />
					主题编号：<s:property value="#SRM.m_topicID" />
					主题标题：<s:property value="#SRM.topicTitle" />
					帖子编号：<s:property value="#SRM.m_postID" />
					帖子内容	<s:property value="#SRM.m_introduction" />
			<s:if test="#SRM.m_status==1">
				您的举报无效！
			</s:if>
			<s:else>
	     		您举报的帖子已经被删除了，感谢您为了这个社区做出得贡献！
			</s:else>
			<br/>
			</s:iterator>
				<div class="inner">
					<span class="corners-top"><span></span></span>
					<h2>病友互助社区 - 系统消息</h2>
				</div>
			</div>
		</div>
	</div>
	<div class="footer">
		<div class="copyright">
			<p class="copy-left">上海交通大学 软件学院</p>
			<p class="copy-right">
				设计风格 <a href=" http://www.artodia.com/">Artodia</a> 。
			</p>
		</div>
	</div>
</body>

</html>